import { createStore, applyMiddleware } from 'redux'

import thunk from 'redux-thunk'

// 引入为Count 组件服务的 reducer
import countReducer from './count_reducer'

// 暴露 store
export default createStore(countReducer, applyMiddleware(thunk))